/***************************************************************************  
 *	Project: empego-zkcdi
 *	Created: 30.10.2011, 17:36:44
 *	File: IdSpaceScoped.java
 *	Package: net.empego.zkcdi.context
 * 
 *  $Id: IdSpaceScoped.java 19 2011-12-06 20:29:38Z oberinspector@gmail.com $ 
 * 
 *
 * 	Copyright (C) 2011 empego.net. All Rights Reserved.
 *
 *
 *	This program is distributed under LGPL Version 3.0.
 *  See the LICENSE at http://www.gnu.org/licenses/lgpl-3.0.html
 *  I hope it will be useful, but WITHOUT ANY WARRANTY.
 *
 ***************************************************************************/
package net.empego.zkcdi.context;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import javax.enterprise.context.NormalScope;
import javax.inject.Scope;

/**
 * The Interface IdSpaceScoped binds CDI-beans to the life cycle of a ZK id space.
 * 
 * @author <a href="mailto:thomas.mueller@empego.net">Thomas Müller</a>
 */
@Target({ TYPE, METHOD, FIELD })
@Retention(RUNTIME)
@NormalScope(passivating = true)
@Scope
@Inherited
public @interface IdSpaceScoped {
}
